﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Noea.TogSim.Model.Signal.States
{
    public class LightSignalState : SignalState
    {
        string _color;
        bool _blinking;
        public LightSignalState(int id, string desc)
            : base(id, desc)
        {
            _color = "black";
            _blinking = false;
        }

        public LightSignalState(int id, string desc, string color)
            : base(id, desc)
        {
            _color = color;
            _blinking = false;
        }

        public LightSignalState(int id, string desc, string color, bool blinking)
            : base(id, desc)
        {
            _color = color;
            _blinking = blinking;
        }

        public string Color { get { return _color; } set { _color = value; } }
        public bool Blinking { get { return _blinking; } set { _blinking = value; } }
    }
}
